package com.project.personal_blog.garbage_classification_management_system.mapper;

import com.project.personal_blog.garbage_classification_management_system.pojo.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface registerMapper {
    @Insert("INSERT INTO user (name, password, email,phonenumber,id,update_time,gt_id) VALUES (#{username}, #{password}, #{email},#{phonenumber},#{id},#{update_time},#{gt_id})")
    // 注册用户
    User register(String username, String password, String email, Long phoneNumber);
}
